package com.tzbank.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.Table;

import javax.persistence.Column;
import javax.persistence.Entity;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Entity(name = "mb_standard_flowset")
@Table(appliesTo = "mb_standard_flowset", comment = "标准流程集合，流程ID关联的标准执行步骤")
public class StandardFlowset extends BaseModel implements Serializable {

	private static final long serialVersionUID = -2884448149095217392L;

	/**
	 * 流程ID
	 */
	@ApiModelProperty(value = "流程ID")
	@Column(name = "flow_id", columnDefinition = "varchar(50)  NOT NULL COMMENT '流程ID'")
	private String flowId;

	/**
	 * 流程名称
	 */
	@ApiModelProperty(value = "流程名称")
	@Column(name = "flow_name", columnDefinition = "varchar(50)  DEFAULT NULL COMMENT '流程名称'")
	private String flowName;

	/**
	 * 流程节点
	 */
	@ApiModelProperty(value = "流程节点")
	@Column(name = "flow_node", columnDefinition = "int(20)  DEFAULT NULL COMMENT '流程节点'")
	private String flowNode;

	/**
	 * 展示方式
	 */
	@ApiModelProperty(value = "节点展示方式")
	@Column(name = "show_style", columnDefinition = "varchar(2) DEFAULT '0' not NULL COMMENT '展示方式0为不跳，1位跳转'")
	private String showStyle;

	/**
	 * 页面名称
	 */
	@ApiModelProperty(value = "page_id")
	@Column(name = "page_id", columnDefinition = "varchar(50) DEFAULT NULL COMMENT '页面名称'")
	private String pageId;

	/**
	 * 默认标记
	 */
	@ApiModelProperty(value = "默认标记")
	@Column(name = "page_load", columnDefinition = "varchar(1) DEFAULT NULL COMMENT '默认标记'")
	private String pageLoad;

	/**
	 * 节点状态
	 */
	@ApiModelProperty(value = "节点状态")
	@Column(name = "page_status", columnDefinition = "varchar(50) DEFAULT NULL COMMENT '节点状态'")
	private String pageStatus;

	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	@Column(name = "remark", columnDefinition = "varchar(200)  DEFAULT NULL COMMENT '备注'")
	private String remark;

}
